<template>
  <div class="slider">
    <span class="line"></span><span>{{ title }}</span>
  </div>
</template>

<script>
export default {
  props: ['title'],
  data() {
    return {}
  },
}
</script>

<style lang="scss" scoped>
.slider {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 40px;
  width: 100%;
  font-size: 16px;
  line-height: 40px;
  font-weight: 800;
  .line {
    height: 20px;
    width: 5px;
    background-color: #3370ff;
    margin-right: 10px;
  }
}
</style>